package com.lc.question.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

//教职工
@ApiModel("教职工实体类")
public class Teacher {
    @ApiModelProperty("工号ID")
    private String tea_Id;
    @ApiModelProperty("姓名")
    private String tea_name;
    @ApiModelProperty("性别")
    private int tea_sex;
    @ApiModelProperty("部门")
    private String office;
    @ApiModelProperty("密码")
    private String tea_pwd;
    @ApiModelProperty("头像")
    private String tea_head;
    @ApiModelProperty("备注")
    private String t_text;

    public Teacher(String tea_Id, String tea_name, int tea_sex, String office, String tea_pwd, String tea_head) {
        this.tea_Id = tea_Id;
        this.tea_name = tea_name;
        this.tea_sex = tea_sex;
        this.office = office;
        this.tea_pwd = tea_pwd;
        this.tea_head = tea_head;
    }

    @Override
    public String toString() {
        return "Teacher{" +
                "tea_Id='" + tea_Id + '\'' +
                ", tea_name='" + tea_name + '\'' +
                ", tea_sex=" + tea_sex +
                ", office='" + office + '\'' +
                ", tea_pwd='" + tea_pwd + '\'' +
                ", tea_head='" + tea_head + '\'' +
                ", t_text='" + t_text + '\'' +
                '}';
    }

    public Teacher() {
    }

    public Teacher(String tea_Id, String tea_name, int tea_sex, String office, String tea_pwd, String tea_head, String t_text) {
        this.tea_Id = tea_Id;
        this.tea_name = tea_name;
        this.tea_sex = tea_sex;
        this.office = office;
        this.tea_pwd = tea_pwd;
        this.tea_head = tea_head;
        if (t_text==null){
            this.t_text = "";
        } else{
            this.t_text = t_text;
        }
    }

    public String getTea_Id() {
        return tea_Id;
    }

    public void setTea_Id(String tea_Id) {
        this.tea_Id = tea_Id;
    }

    public String getTea_name() {
        return tea_name;
    }

    public void setTea_name(String tea_name) {
        this.tea_name = tea_name;
    }

    public int getTea_sex() {
        return tea_sex;
    }

    public void setTea_sex(int tea_sex) {
        this.tea_sex = tea_sex;
    }

    public String getOffice() {
        return office;
    }

    public void setOffice(String office) {
        this.office = office;
    }

    public String getTea_pwd() {
        return tea_pwd;
    }

    public void setTea_pwd(String tea_pwd) {
        this.tea_pwd = tea_pwd;
    }

    public String getTea_head() {
        return tea_head;
    }

    public void setTea_head(String tea_head) {
        this.tea_head = tea_head;
    }

    public String getT_text() {
        return t_text;
    }

    public void setT_text(String t_text) {
        this.t_text = t_text;
    }
}
